C1.LiveLinq.AdoNet Namespace > AdoNetExtensions Class > IndexedField Method : IndexedField<T>(DataRow,Int32,IndexingHintAction) Method |
'Declaration
Public Overloads Shared Function IndexedField(Of T)( _ ByVal row As System.Data.DataRow, _ ByVal columnIndex As System.Integer, _ ByVal action As IndexingHintAction _ ) As T
public static T IndexedField<T>( System.Data.DataRow row, System.int columnIndex, IndexingHintAction action )
var query = from c in customersTable where c.IndexedField<string>(0, IndexingHintAction.Mandatory) == "ALFKI" select c;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2